<?php
/**
 * @package firmasite
 */
 ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
    <h1 class="page-header page-title">
        <strong><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'firmasite' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></strong>
		<?php
		$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
		if(1 < $paged) echo "<small> - " . sprintf(__("%s. page", 'firmasite'), $paged) . "</small>";
        if (!empty($post->post_excerpt)){ ?>
            <small><?php the_excerpt(); ?></small>
        <?php } ?>
    </h1>
</header>
<div class="entry-content">      
	<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'firmasite' ) ); ?>
    <?php wp_link_pages( array( 'before' => '<div class="page-links"><ul class="pagination pagination-sm">', 'after' => '</ul></div>' ) ); ?>
    <?php if (empty($post->post_title)){ ?>
    <a class="pull-right" href="<?php the_permalink(); ?>" rel="bookmark">
        <small><i class="icon-bookmark"></i><?php  _e( 'Permalink', 'firmasite' ); ?></small>
    </a>
    <?php } ?>
</div>
</article><!-- #post-<?php the_ID(); ?> -->